<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改宠物信息</title>
</head>
<body>
<form action="${ctx }/updatap" method="post">
   <input id="id" type="hidden" name="id" value="${pet.id }"><br>
   <input id="name" type="text" name="name" value="${pet.name }"><br>
   <input id="sex" type="text" name="sex" value="${pet.sex }"><br>
   <input id="type" type="text" name="type" value="${pet.type }"><br>
   <input id="pic" type="text" name="pic" value="${pet.pic }"><br>
   <input id="describes" type="text" name="describes" value="${pet.describe }"><br>
   <input id="price" type="text" name="price" value="${pet.price }"><br>
   <input type="submit" value="修改">
</form>
</body>
</html>